#pragma once

#define WM_SHOW_LIST_MENU	WM_USER+133
enum e_list_type
{
	e_list_meeting_room = 1,
	e_list_page_meeting_list = 2,
};
class list_ctrl_ex : public CListCtrl
{
	DECLARE_DYNAMIC(list_ctrl_ex)

public:
	list_ctrl_ex();
	virtual ~list_ctrl_ex();
	
protected:
	DECLARE_MESSAGE_MAP()
	virtual BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult);
	afx_msg void OnContextMenu(CWnd* /*pWnd*/, CPoint /*point*/);
public:
	void set_type(e_list_type type){ this->type_ = type; }
	void set_parent_wnd(HWND hwnd){ this->parent_wnd_ = hwnd;}
private:
	e_list_type type_;
	HWND parent_wnd_;
	
};


